package com.fs.system.college_admin.mapper;

import com.fs.system.college_admin.domain.Speciality;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;


public interface CollegeAdminSpecialityMapper {

    List<Speciality> selectAllSpeciality(Speciality speciality);

    List<Speciality> selectAllSpecialityByCollege(Speciality speciality);

    Speciality selectByName(Speciality speciality );

    void addSpeciality(Speciality speciality);


    void deleteSpeciality( @Param("specialityId") Long specialityId, @Param("updateBy") String updateBy, @Param("updateTime")LocalDateTime updateTime);

    void updateSpeciality(Speciality speciality);

    Speciality selectSpecialityById(Long specialityId);
}
